package com.zd.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author TSP
 * @since 2021-08-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sc_student_course")
@ApiModel(value="StudentCourse对象", description="")
public class StudentCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学生ID")
    @TableId("stu_id")
    private Integer stuId;

    @ApiModelProperty(value = "任课教师ID")
    @TableField("tea_id")
    private Integer teaId;

    @ApiModelProperty(value = "课程安排ID")
    @TableField("course_id")
    private Integer courseId;

    @ApiModelProperty(value = "平时成绩")
    private Float normalGrade;

    @ApiModelProperty(value = "期中成绩")
    private Float midtermGrade;

    @ApiModelProperty(value = "总成绩")
    private Float finalGrade;

    @ApiModelProperty(value = "是否提交")
    private Boolean gradeCommit;


}
